#include <stdio.h>
#include "webapierr.h"


/**/


unsigned int translate_errorcode(unsigned int n_WEB_SERVICE_CODE) 
{
	unsigned int nerrcode = 0 ;

	switch(n_WEB_SERVICE_CODE)
	{
	case 0:
		nerrcode = WEB_SERVICE_UNKNOW ;
		break;
	case 1:
		nerrcode = WEB_SERVICE_OK ;
		break;
	default:
		nerrcode = n_WEB_SERVICE_CODE ;
		break;
	}

	return nerrcode;
}

